-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable order by ordinal position for query columns #520
Conversation
f2d3251
to
cdf35c5
Compare
Hi, @dhmlau. Can you please have a look at the PR? The tests are failing due to the access being denied for the given username & password. |
Hi, @dhmlau. Thanks for the response. This is strange. The tests are failing for another PR of mine but are working fine for the PR you mentioned. |
CI check should pass after merging #539 |
@aaqilniz can you please rebase this PR ? |
be17483
to
efa09f5
Compare
@samarpanB. Tests are finally passing with this PR too. |
Hi, @samarpanB. I've updated the PR. Please have a look at it now. The tests are failing due to this change required in |
@aaqilniz tests seem to be failing. Can you rebase and check please ? |
0051b18
to
8d87890
Compare
0d5c807
to
5275beb
Compare
Signed-off-by: Muhammad Aaqil <[email protected]>
5275beb
to
c3777eb
Compare
lb4 discover analyses the table structures for MySQL using INFORMATION_SCHEMA.COLUMNS
It does not seem to use the ordinal when reading the columns.
This PR adds an option to enable users to get table properties/columns in ordinal_position.
To enable this option, the user can pass an option,
orderBy
throughconnectorDiscoveryOptions
while discovering the models. e.g.--connectorDiscoveryOptions = '{"orderBy":"ordinal_position"}'
Checklist
npm test
passes on your machine